<?php

class Application_Model_Segelschule
{
	protected $_id;
	protected $_created;
	protected $_lastupdater;
	protected $_lastupdated;
	protected $_name;
	protected $_revier;
	protected $_land;
	protected $_stadt;
	protected $_adresse;
	protected $_lat;
	protected $_lng;
	protected $_saisonzeitbeginn;
	protected $_saisonzeitende;
	protected $_hafenweg;
	protected $_open;
	protected $_close;
	protected $_weblink;
	protected $_profilbild;
	protected $_premium;
	protected $_status;

	public function __construct (array $options = null)
	{
		if (is_array($options))
		{
			$this->setOptions($options);
		}
	}
	public function setOptions (array $options)
	{
		$methods = get_class_methods($this);
		foreach ($options as $key => $value)
		{
			$method = 'set' . ucfirst($key);
			if (in_array($method, $methods))
			{
				$this->$method($value);
			}
		}
		return $this;
	}

	public function __set ($name, $value)
	{
		$method = 'set' . ucfirst($name);
		if (('mapper' == $name) || ! method_exists($this, $method))
		{
			throw new Exception('Invalid boot property');
		}
		$this->$method($value);
	}
	
	public function __get ($name)
	{
		$method = 'get' . ucfirst($name);
		if (('mapper' == $name) || ! method_exists($this, $method))
		{
			throw new Exception('Invalid boot property');
		}
		return $this->$method();
	}
	/**
	 * @return the $_id
	 */
	public function getId() {
		return $this->_id;
	}

	/**
	 * @return the $_created
	 */
	public function getCreated() {
		return $this->_created;
	}

	/**
	 * @return the $_creator
	 */
	public function getCreator() {
		return $this->_creator;
	}

	/**
	 * @return the $_lastupdated
	 */
	public function getLastupdated() {
		return $this->_lastupdated;
	}

	/**
	 * @return the $_name
	 */
	public function getName() {
		return $this->_name;
	}

	/**
	 * @return the $_revier
	 */
	public function getRevier() {
		return $this->_revier;
	}

	/**
	 * @return the $_land
	 */
	public function getLand() {
		return $this->_land;
	}

	/**
	 * @return the $_stadt
	 */
	public function getStadt() {
		return $this->_stadt;
	}

	/**
	 * @return the $_saisonzeitbeginn
	 */
	public function getSaisonzeitbeginn() {
		return $this->_saisonzeitbeginn;
	}

	/**
	 * @return the $_hafenweg
	 */
	public function getHafenweg() {
		return $this->_hafenweg;
	}

	/**
	 * @return the $_open
	 */
	public function getOpen() {
		return $this->_open;
	}

	/**
	 * @return the $_close
	 */
	public function getClose() {
		return $this->_close;
	}

	/**
	 * @return the $_profilbild
	 */
	public function getProfilbild() {
		return $this->_profilbild;
	}

	/**
	 * @return the $_weblink
	 */
	public function getWeblink() {
		return $this->_weblink;
	}

	/**
	 * @return the $_lat
	 */
	public function getLat() {
		return $this->_lat;
	}

	/**
	 * @return the $_lng
	 */
	public function getLng() {
		return $this->_lng;
	}

	/**
	 * @return the $_premiumkunde
	 */
// 	public function getPremiumkunde() {
// 		return $this->_premiumkunde;
// 	}

	/**
	 * @param field_type $_id
	 */
	public function setId($_id) {
		$this->_id = $_id;
	}

	/**
	 * @param field_type $_created
	 */
	public function setCreated($_created) {
		$this->_created = $_created;
	}

	/**
	 * @param field_type $_creator
	 */
	public function setCreator($_creator) {
		$this->_creator = $_creator;
	}

	/**
	 * @param field_type $_lastupdated
	 */
	public function setLastupdated($_lastupdated) {
		$this->_lastupdated = $_lastupdated;
	}

	/**
	 * @param field_type $_name
	 */
	public function setName($_name) {
		$this->_name = $_name;
	}

	/**
	 * @param field_type $_revier
	 */
	public function setRevier($_revier) {
		$this->_revier = $_revier;
	}

	/**
	 * @param field_type $_land
	 */
	public function setLand($_land) {
		$this->_land = $_land;
	}

	/**
	 * @param field_type $_stadt
	 */
	public function setStadt($_stadt) {
		$this->_stadt = $_stadt;
	}

	/**
	 * @param field_type $_saisonzeit
	 */
	public function setSaisonzeitbeginn($_saisonzeitbeginn) {
		$this->_saisonzeitbeginn = $_saisonzeitbeginn;
	}

	/**
	 * @param field_type $_hafenweg
	 */
	public function setHafenweg($_hafenweg) {
		$this->_hafenweg = $_hafenweg;
	}

	/**
	 * @param field_type $_open
	 */
	public function setOpen($_open) {
		$this->_open = $_open;
	}

	/**
	 * @param field_type $_close
	 */
	public function setClose($_close) {
		$this->_close = $_close;
	}

	/**
	 * @param field_type $_profilbild
	 */
// 	public function setProfilbild($_profilbild) {
// 		$this->_profilbild = $_profilbild;
// 	}

	/**
	 * @param field_type $_weblink
	 */
	public function setWeblink($_weblink) {
		$this->_weblink = $_weblink;
	}

	/**
	 * @param field_type $_lat
	 */
	public function setLat($_lat) {
		$this->_lat = $_lat;
	}

	/**
	 * @param field_type $_lng
	 */
	public function setLng($_lng) {
		$this->_lng = $_lng;
	}

	/**
	 * @param field_type $_premiumkunde
	 */
	public function setPremiumkunde($_premiumkunde) {
		$this->_premiumkunde = $_premiumkunde;
	}
	/**
	 * @return the $_saisonzeitende
	 */
	public function getSaisonzeitende() {
		return $this->_saisonzeitende;
	}

	/**
	 * @param field_type $_saisonzeitende
	 */
	public function setSaisonzeitende($_saisonzeitende) {
		$this->_saisonzeitende = $_saisonzeitende;
	}
	/**
	 * @return the $_lastupdater
	 */
	public function getLastupdater() {
		return $this->_lastupdater;
	}

	/**
	 * @return the $_premium
	 */
	public function getPremium() {
		return $this->_premium;
	}

	/**
	 * @return the $_status
	 */
	public function getStatus() {
		return $this->_status;
	}

	/**
	 * @param field_type $_lastupdater
	 */
	public function setLastupdater($_lastupdater) {
		$this->_lastupdater = $_lastupdater;
	}

	/**
	 * @param field_type $_profilbild
	 */
	public function setProfilbild($_profilbild) {
		$this->_profilbild = $_profilbild;
	}

	/**
	 * @param field_type $_premium
	 */
	public function setPremium($_premium) {
		$this->_premium = $_premium;
	}

	/**
	 * @param field_type $_status
	 */
	public function setStatus($_status) {
		$this->_status = $_status;
	}
	/**
	 * @return the $_adresse
	 */
	public function getAdresse() {
		return $this->_adresse;
	}

	/**
	 * @param field_type $_adresse
	 */
	public function setAdresse($_adresse) {
		$this->_adresse = $_adresse;
	}





	
}